home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Celestin Apprentice 5
/
Apprentice-Release5.iso
/
Source Code
/
C++
/
Frameworks
/
TransSkel++ 305
/
Documents
/
Release Notes
/
3.01 Release Notes
next >
Wrap
Text File
|
1996-02-27
|
3KB
|
63 lines
TransSkel++ 3.01 — Release Notes
This document is an adjunct to the TransSkel++ Programmer’s
Manual. It lists changes and additions specific to release
3.01.
Release 3.01
Release Date: January 12, 1996
Changes made in 3.01:
SUMMARY: Release 3.01 fixes a few bugs and adds some new
features to the initial release. Most fixes were due to
errors with the original scheme for dynamic destruction of
class instances. Fixes were made which should make it safe
to delete instances of a class from a class’s doClose() method
(assuming the host won't try to delete the same instance a second
time). Base class definitions were slightly modified to make
subclass definitions more flexible.
• Make GetC(Window|Dialog) accessors non-static
so publicly accessible. TransSkel++ users may find this
useful if all they have is a pointer to a QD window or dialog.
• Fixed a potential bug with these accessors. Previously,
the function could return bogus results if the window
or dialog was not a TransSkel++ window or dialog.
• Added dummy constructors for the CMenu, CWindow, and CDialog
classes. This makes it possible to create subclasses of
these base classes which don't use the standard constructors.
• Added a condition to the CWindow and CDialog destructor to ensure
that pointers are non-nil. This fixes an incompatibility with
TransEdit and TransDisply, both of whom's Clobber procs
call DisposeWindow. TransEdit and TransDisplay set the
pointers to nil after their Clobber procs call DisposeWindow
so as to short-circuit the CWindow destructor's call.
(This is all so we can make CEditWindow and CDisplay window
subclasses of CWindow...)
• Made destructors for all base classes virtual.
This allows the right destructors to be called
if an abstract reference is made to a subclass of
any of the base classes.
• Added doMenuHook() method for CApplication class which
automatically gets called before Menu(Select|Key) QD
procedures. Documented method in TransSkel Manual and warned
against using SkelSetMenuHook.
• Updated TransSkel++ Manual to indicate that CWindow and CDialog
constructors check to see if color QD available, and if
so, color windows/dialogs are created.
• Reworked the window property for TransSkel++ which should make
later revisions easier.
+ Changed ClassPointerID to SkelppWindowPropertyID
+ Made SkelppWindowProperty an internal struct, one
of whose fields is a pointer to the class instance.
Later versions of TransSkel++ can use additional
fields without having to use a new window property ID.